home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Sample Code / AppsToGo / DTS.Lib / DTS.Lib.headers / DTSFW #includes.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-24  |  7.3 KB  |  571 lines  |  [TEXT/KAHL]

  1.  
  2. /*
  3.  *  Mac #includes.c - source to MacHeaders
  4.  *
  5.  *  To add a header, change its "#if 0" to "#if 1".
  6.  *
  7.  *  To remove a header, change its "#if 1" to "#if 0".
  8.  *
  9.  *  There are some conflicts and order dependencies among the various
  10.  *  headers:
  11.  *
  12.  *    •    <Printing.h> and <PrintTraps.h> cannot both be included.
  13.  *
  14.  *    •    <LoMem.h> and <SysEqu.h> cannot both be included.
  15.  *
  16.  *    •    <asm.h> and <Traps.h>, if both are included, must appear
  17.  *        in that order.  If <Traps.h> is included, traps used in
  18.  *        inline assembly must appear without leading underscores.
  19.  *
  20.  *  If the "Check Pointer Types" option is disabled during the
  21.  *  precompilation process, trap definitions will be stored in
  22.  *  such a way that when a trap is called (in a source file that
  23.  *  #includes the precompiled header), pointer arguments to the
  24.  *  trap will not be matched against the types of corresponding
  25.  *  formal parameters.
  26.  *
  27.  *  This is accomplished by storing "simplified" prototypes for
  28.  *  traps, in which any argument of pointer type is stored as
  29.  *  "void *".  The result closely resembles the treatment of traps
  30.  *  in pre-5.0 versions of THINK C.
  31.  *
  32.  *  (Note that this file is written in such a way that it is immune
  33.  *  to the actual compiler setting of "Check Pointer Types".  Use
  34.  *  the "SIMPLIFY_PROTOTYPES" macro, below, to control whether full
  35.  *  prototypes are retained.)
  36.  *
  37.  */
  38.  
  39. #define OBSOLETE
  40. #define OLDROUTINENAMES 0
  41. typedef long double float_t;
  42. typedef long double double_t;
  43. #define _H_MacHeaders
  44.  
  45.  
  46. // set this to 0 (zero) to retain full prototypes
  47. // set this to 1 (one) for "simplified" prototypes
  48. #define SIMPLIFY_PROTOTYPES        0
  49.  
  50.  
  51. // prototype checking level
  52. #if SIMPLIFY_PROTOTYPES
  53.     #if !__option(check_ptrs)
  54.         #undef SIMPLIFY_PROTOTYPES
  55.     #endif
  56.     #pragma options(!check_ptrs)
  57. #else
  58.     #if __option(check_ptrs)
  59.         #undef SIMPLIFY_PROTOTYPES
  60.     #endif
  61.     #pragma options(check_ptrs)
  62. #endif
  63.  
  64.  
  65. // ADSP
  66.     #if 0
  67.         #include <ADSP.h>
  68.     #endif
  69.  
  70. // AIFF
  71.     #if 0
  72.         #include <AIFF.h>
  73.     #endif
  74.  
  75. // Aliases
  76.     #if 1
  77.         #include <Aliases.h>
  78.     #endif
  79.  
  80. // AppleEvents
  81.     #if 1
  82.         #include <AppleEvents.h>
  83.     #endif
  84.  
  85. // AppleTalk
  86.     #if 0
  87.         #include <AppleTalk.h>
  88.     #endif
  89.  
  90. // Balloons
  91.     #if 1
  92.         #include <Balloons.h>
  93.     #endif
  94.  
  95. // CommResources
  96.     #if 0
  97.         #include <CommResources.h>
  98.     #endif
  99.  
  100. // Components
  101.     #if 1
  102.         #include <Components.h>
  103.     #endif
  104.  
  105. // Connections
  106.     #if 0
  107.         #include <Connections.h>
  108.     #endif
  109.  
  110. // ConnectionTools
  111.     #if 0
  112.         #include <ConnectionTools.h>
  113.     #endif
  114.  
  115. // Controls
  116.     #if 1
  117.         #include <Controls.h>
  118.     #endif
  119.  
  120. // CRMSerialDevices
  121.     #if 0
  122.         #include <CRMSerialDevices.h>
  123.     #endif
  124.  
  125. // CTBUtilities
  126.     #if 0
  127.         #include <CTBUtilities.h>
  128.     #endif
  129.  
  130. // DatabaseAccess
  131.     #if 0
  132.         #include <DatabaseAccess.h>
  133.     #endif
  134.  
  135. // Desk
  136.     #if 1
  137.         #include <Desk.h>
  138.     #endif
  139.  
  140. // DeskBus
  141.     #if 0
  142.         #include <DeskBus.h>
  143.     #endif
  144.  
  145. // Devices
  146.     #if 1
  147.         #include <Devices.h>
  148.     #endif
  149.  
  150. // Dialogs
  151.     #if 1
  152.         #include <Dialogs.h>
  153.     #endif
  154.  
  155. // DiskInit
  156.     #if 1
  157.         #include <DiskInit.h>
  158.     #endif
  159.  
  160. // Disks
  161.     #if 0
  162.         #include <Disks.h>
  163.     #endif
  164.  
  165. // Editions
  166.     #if 0
  167.         #include <Editions.h>
  168.     #endif
  169.  
  170. // ENET
  171.     #if 0
  172.         #include <ENET.h>
  173.     #endif
  174.  
  175. // EPPC
  176.     #if 1
  177.         #include <EPPC.h>
  178.     #endif
  179.  
  180. // Errors
  181.     #if 1
  182.         #include <Errors.h>
  183.     #endif
  184.  
  185. // Events
  186.     #if 1
  187.         #include <Events.h>
  188.     #endif
  189.  
  190. // Files
  191.     #if 1
  192.         #include <Files.h>
  193.     #endif
  194.  
  195. // FileTransfers
  196.     #if 0
  197.         #include <FileTransfers.h>
  198.     #endif
  199.  
  200. // FileTransferTools
  201.     #if 0
  202.         #include <FileTransferTools.h>
  203.     #endif
  204.  
  205. // Finder
  206.     #if 0
  207.         #include <Finder.h>
  208.     #endif
  209.  
  210. // FixMath
  211.     #if 1
  212.         #include <FixMath.h>
  213.     #endif
  214.  
  215. // Folders
  216.     #if 1
  217.         #include <Folders.h>
  218.     #endif
  219.  
  220. // Fonts
  221.     #if 1
  222.         #include <Fonts.h>
  223.     #endif
  224.  
  225. // GestaltEqu
  226.     #if 1
  227.         #include <GestaltEqu.h>
  228.     #endif
  229.  
  230. // Graf3D
  231.     #if 0
  232.         #include <Graf3D.h>
  233.     #endif
  234.  
  235. // HyperXCmd
  236.     #if 0
  237.         #include <HyperXCmd.h>
  238.     #endif
  239.  
  240. // Icons
  241.     #if 0
  242.         #include <Icons.h>
  243.     #endif
  244.  
  245. // ImageCompression
  246.     #if 1
  247.         #include <ImageCompression.h>
  248.     #endif
  249.  
  250. // Language
  251.     #if 0
  252.         #include <Language.h>
  253.     #endif
  254.  
  255. // Lists
  256.     #if 1
  257.         #include <Lists.h>
  258.     #endif
  259.  
  260. // Memory
  261.     #if 1
  262.         #include <Memory.h>
  263.     #endif
  264.  
  265. // Menus
  266.     #if 1
  267.         #include <Menus.h>
  268.     #endif
  269.  
  270. // MIDI
  271.     #if 0
  272.         #include <MIDI.h>
  273.     #endif
  274.  
  275. // Movies
  276.     #if 1
  277.         #include <Movies.h>
  278.     #endif
  279.  
  280. // Notification
  281.     #if 1
  282.         #include <Notification.h>
  283.     #endif
  284.  
  285. // OSEvents
  286.     #if 1
  287.         #include <OSEvents.h>
  288.     #endif
  289.  
  290. // OSUtils
  291.     #if 1
  292.         #include <OSUtils.h>
  293.     #endif
  294.  
  295. // Packages
  296.     #if 1
  297.         #include <Packages.h>
  298.     #endif
  299.  
  300. // Palette
  301. //    #if 1
  302. //        #include <Palette.h>
  303. //    #endif
  304.  
  305. // Palettes
  306.     #if 0
  307.         #include <Palettes.h>
  308.     #endif
  309.  
  310. // Picker
  311.     #if 0
  312.         #include <Picker.h>
  313.     #endif
  314.  
  315. // PictUtil
  316.     #if 0
  317.         #include <PictUtil.h>
  318.     #endif
  319.  
  320. // Power
  321.     #if 0
  322.         #include <Power.h>
  323.     #endif
  324.  
  325. // PPCToolBox
  326.     #if 1
  327.         #include <PPCToolBox.h>
  328.     #endif
  329.  
  330. // Printing
  331.     #if 1
  332.         #include <Printing.h>
  333.     #endif
  334.  
  335. // PrintTraps
  336.     #if 0
  337.         #include <PrintTraps.h>
  338.     #endif
  339.  
  340. // Processes
  341.     #if 1
  342.         #include <Processes.h>
  343.     #endif
  344.  
  345. // QDOffscreen
  346.     #if 1
  347.         #include <QDOffscreen.h>
  348.     #endif
  349.  
  350. // Quickdraw
  351.     #if 1
  352.         #include <Quickdraw.h>
  353.     #endif
  354.  
  355. // Resources
  356.     #if 1
  357.         #include <Resources.h>
  358.     #endif
  359.  
  360. // Retrace
  361.     #if 0
  362.         #include <Retrace.h>
  363.     #endif
  364.  
  365. // ROMDefs
  366.     #if 0
  367.         #include <ROMDefs.h>
  368.     #endif
  369.  
  370. // Scrap
  371.     #if 1
  372.         #include <Scrap.h>
  373.     #endif
  374.  
  375. // Script
  376.     #if 1
  377.         #include <Script.h>
  378.     #endif
  379.  
  380. // SCSI
  381.     #if 0
  382.         #include <SCSI.h>
  383.     #endif
  384.  
  385. // SegLoad
  386.     #if 1
  387.         #include <SegLoad.h>
  388.     #endif
  389.  
  390. // Serial
  391.     #if 0
  392.         #include <Serial.h>
  393.     #endif
  394.  
  395. // ShutDown
  396.     #if 0
  397.         #include <ShutDown.h>
  398.     #endif
  399.  
  400. // Slots
  401.     #if 0
  402.         #include <Slots.h>
  403.     #endif
  404.  
  405. // Sound
  406.     #if 0
  407.         #include <Sound.h>
  408.     #endif
  409.  
  410. // SoundInput
  411.     #if 0
  412.         #include <SoundInput.h>
  413.     #endif
  414.  
  415. // StandardFile
  416.     #if 1
  417.         #include <StandardFile.h>
  418.     #endif
  419.  
  420. // Start
  421.     #if 0
  422.         #include <Start.h>
  423.     #endif
  424.  
  425. // SysEqu
  426.     #if 0
  427.         #include <SysEqu.h>
  428.     #endif
  429.  
  430. // Terminals
  431.     #if 0
  432.         #include <Terminals.h>
  433.     #endif
  434.  
  435. // TerminalTools
  436.     #if 0
  437.         #include <TerminalTools.h>
  438.     #endif
  439.  
  440. // TextEdit
  441.     #if 1
  442.         #include <TextEdit.h>
  443.     #endif
  444.  
  445. // TextServices
  446.     #if 1
  447.         #include <TextServices.h>
  448.     #endif
  449.  
  450. // Timer
  451.     #if 1
  452.         #include <Timer.h>
  453.     #endif
  454.  
  455. // ToolUtils
  456.     #if 1
  457.         #include <ToolUtils.h>
  458.     #endif
  459.  
  460. // Types
  461.     #if 1
  462.         #include <Types.h>
  463.     #endif
  464.  
  465. // Values
  466.     #if 0
  467.         #include <Values.h>
  468.     #endif
  469.  
  470. // Video
  471.     #if 0
  472.         #include <Video.h>
  473.     #endif
  474.  
  475. // Windows
  476.     #if 1
  477.         #include <Windows.h>
  478.     #endif
  479.  
  480. // pascal.h
  481.     #if 0
  482.         #include <pascal.h>
  483.     #endif
  484.  
  485. // asm.h
  486.     #if 0
  487.         #include <asm.h>
  488.     #endif
  489.  
  490. // Traps
  491.     #if 1
  492.         #include <Traps.h>
  493.     #endif
  494.  
  495.  
  496. // *********************************************
  497. // *********************************************
  498. // *********************************************
  499.  
  500.  
  501. // DTS.framework specific includes
  502.     #if 1
  503.         #include <AEUtils.h>
  504.     #endif
  505.  
  506.     #if 1
  507.         #include <ATUtils.h>
  508.     #endif
  509.  
  510.     #if 1
  511.         #include <CtlHandler.h>
  512.     #endif
  513.  
  514.     #if 1
  515.         #include <DTS.Lib.h>
  516.     #endif
  517.  
  518.     #if 1
  519.         #include <DTS.Lib.protos.h>
  520.     #endif
  521.  
  522.     #if 1
  523.         #include <GWLayers.h>
  524.     #endif
  525.  
  526.     #if 1
  527.         #include <ListControl.h>
  528.     #endif
  529.  
  530.     #if 1
  531.         #include <ListControlProcs.h>
  532.     #endif
  533.  
  534.     #if 1
  535.         #include <PPC.h>
  536.     #endif
  537.  
  538.     #if 1
  539.         #include <StringUtils.h>
  540.     #endif
  541.  
  542.     #if 1
  543.         #include <TextEditControl.h>
  544.     #endif
  545.  
  546.     #if 1
  547.         #include <TextEditControlProcs.h>
  548.     #endif
  549.  
  550.     #if 1
  551.         #include <TreeObj.h>
  552.     #endif
  553.  
  554.     #if 1
  555.         #include <Utilities.h>
  556.     #endif
  557.  
  558.  
  559. // *********************************************
  560. // *********************************************
  561. // *********************************************
  562.  
  563.  
  564. // restore "Check Pointer Types" to previous setting
  565. #if SIMPLIFY_PROTOTYPES
  566.     #pragma options(check_ptrs)
  567. #elif defined(SIMPLIFY_PROTOTYPES)
  568.     #pragma options(!check_ptrs)
  569. #endif
  570. #undef SIMPLIFY_PROTOTYPES
  571.